﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Dtos
{
    /// <summary>
    /// 权限列表
    /// </summary>
    public class PermissionsDto
    {
        /// <summary>
        /// 权限id
        /// </summary>
        public int PermissionId { get; set; }
        /// <summary>
        /// 权限编号
        /// </summary>
        public string PermissionCoding { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限分类id
        /// </summary>
        public int PermissionTypeId { get; set; }
        /// <summary>
        /// 状态 1-有效；0-无效
        /// </summary>
        public int PermissionState { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；0-删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        public string URL { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionTypeName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>

        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
